home *** CD-ROM | disk | FTP | other *** search
- >I have written a program in Amos which involves a `laser beam`
- >being fired from one part of the screen to another.
- >To do this I just work out dy and dx ( one of these values
- >will be 1) and add them to the original points until the
- >destination is reached or it hits something.
- >
- >It works fine when run through the editor, yet when compiled...
- >does not. Why??? I use real numbers for dx and dy - maybe
- >the compiler cannot deal with these or something?
- >The beam does not go in the right direction at all.
- >
- >Has anyone got a list of inconsistencies in compiler/interpreter
- >operation? This is driving me up the wall.
-
- I was going to say "sounds like the old division bug" before I noticed
- that you're using floating point numbers. Try using Set Double Precision,
- or stop using it if you already are - I recall that one or the other had
- problems in the compiler.
-
- --Andy Church (achurch@goober.mbhs.edu)
- WWW: http://www.mbhs.edu/~achurch/
- AMOS Web Site: http://www.mbhs.edu/~achurch/amos/
-
-